package com.springboot2.shiro.data.service;

import com.springboot2.shiro.data.repository.RoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * RoleServiceImpl
 *
 * @author Archx[archx@foxmail.com]
 * at 2018/7/13 21:31
 */
@Service
public class RoleServiceImpl implements RoleService {

    private RoleRepository repository;

    @Autowired
    public void setRepository(RoleRepository repository) {
        this.repository = repository;
    }

    @Override
    public RoleRepository getRepository() {
        return repository;
    }
}
